import request from '@/utils/request'

// 获取可选择管理塘口列表
export function listSelect(query) {
	return request({
		url: '/api/culturePonds/ranges',
		method: 'get',
		params: query
	})
}

// 详情
export function detail(query) {
	return request({
		url: '/api/culturePonds/'+query.id,
		method: 'get'
	})
}

export function getPlayUrl(params){
	return request({
		url: '/api/culturePonds/live/play',
		method: 'get',
		params
	})
}